package mop.gui.task;

import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

/**
 * 
 * @author Laurens
 */
public class AssignTaskAction implements MouseListener
{  
    private String description;
    
    public AssignTaskAction(String description)
    {
        this.description = description;
    }

    public void mouseClicked(MouseEvent e)
    {
        AssignTaskDialog dialog = new AssignTaskDialog(new javax.swing.JFrame(), true, description);
        dialog.setVisible(true);
    }

    public void mousePressed(MouseEvent e)
    {
    }

    public void mouseReleased(MouseEvent e)
    {
    }

    public void mouseEntered(MouseEvent e)
    {        
    }

    public void mouseExited(MouseEvent e)
    {
    }
}